﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ModeleTool
{
    public partial class MainWindow : Form
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        public IntPtr XnaPanelHandle
        {
            get
            {
                return this.xnaPanel.IsHandleCreated ?
                       this.xnaPanel.Handle : IntPtr.Zero;
            }
        }

        public void setXnaPanelDimensions(int _width, int _height)
        {
            this.xnaPanel.Width = _width;
            this.xnaPanel.Height = _height;
        }
    }
}
